﻿using System;
using ChapterX.Common;

namespace ChapterX.Model
{

    public class DataListModuleBase : ChapterX.Model.ModuleBase
    {
        private String _dataNavigateUrl = null;

        public String DataNavigateUrl
        {
            get
            {
                if (String.IsNullOrEmpty(_dataNavigateUrl))
                {
                    throw new UnexpectedException("DataNavigateUrl must be set properly!");
                }
                else
                {
                    return _dataNavigateUrl;
                }
            }
            set
            {
                _dataNavigateUrl = value;
            }
        }
    }
}
